package com.example.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.entity.dto.KeepPlanDto;
import com.example.entity.matirx.KeepPlan;
import com.github.pagehelper.Page;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;


@Mapper

public interface KeepPlanMapper extends BaseMapper<KeepPlan> {
    @Transactional
Page<KeepPlanDto> pageWithContent(@Param("likePlanName")String likePlanName);


    List<KeepPlan> listuse(@Param("status")Integer status);



}